package com.mk.admin.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_message_read")
public class MessageReadEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String messageId;
    private String patId;
    private String doctorCode;
    private Integer readStatus;
    private String readTime;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String readPatId;
    @TableField(exist = false)
    private String departmentCode;
    @TableField(exist = false)
    private String campusCode;
    @TableField(exist = false)
    private Integer status;
    @TableField(exist = false)
    private Integer type;
    @TableField(exist = false)
    private Integer[] types;
    @ApiModelProperty("排序：orderBy:'id desc,sort asc,name desc'")
    private String orderBy;
    private Integer page;
    private Integer size;
}
